package com.zhangqiang.git.opc.opclink.model;

/**
 * 标识定义
 */
public enum ResultCode {

    /** 成功 */
    SUCCESS("0","成功"),
    /** 警告 */
    WARN("1","失败"),
    /** 错误 */
    ERROR("-1","异常");

    private final String value;

    private final String msg;

    ResultCode(String value,String msg) {

        this.value = value;

        this.msg = msg;
    }

    public String getValue() {
        return value;
    }

    public String getMsg() {
        return msg;
    }
}
